<?php

require_once "core/application/models/musers/musers8.php";

class Musers9 extends Musers8 {
    
    private $_query;

    protected function getInfoAboutFriend($nick) {
        /**
         * @param string $nick
         * @return информацию о нике в массиве
         */
        DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT `name`, `online`, `account_id` FROM `players` WHERE `name` = '$nick' ";
        $getInfo = DB::getInstance()->sql($this->_query);
        return mysql_fetch_assoc($getInfo);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }
}
?>
